package com.taotao.web;

import com.taotao.service.TbItemDescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author evader
 * @date 2020-10-09 14:21
 */
@RestController
public class TbItemDescController {

    @Autowired
    private TbItemDescService tbItemDescService;

    @RequestMapping("/item/desc/{id}")
    public String getTbItemDesc(@PathVariable Long id) {
        String html = tbItemDescService.getTbItemDesc(id);
        return html;
    }
}

